<template>
    <div class="pagination mb70">
        <div class="block">
            <el-pagination
                @current-change="handleCurrentChange"
                :current-page="currentPage"
                :page-size="100"
                layout="total, prev, pager, next"
                :total="1000">
            </el-pagination>
        </div>
    </div>
</template>
<script>
export default {
  data() {
    return {
        currentPage:1
    };
  },
  methods: {
    handleCurrentChange(val) {
      var pageNum=val
      var offset=(pageNum - 1) * 36; //每行6个 共6行
      this.$emit('changeCurrent',offset)
      console.log(`当前页: ${val}`);
    },
  },
};
</script>
<style lang="scss">
.pagination {
}
</style>